package com.social.dao;

import com.social.dao.model.ForumAd;
import com.social.dao.model.ForumAdExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ForumAdMapper {
    int countByExample(ForumAdExample example);

    int deleteByExample(ForumAdExample example);

    int deleteByPrimaryKey(String id);

    int insert(ForumAd record);

    int insertSelective(ForumAd record);

    List<ForumAd> selectByExampleWithBLOBs(ForumAdExample example);

    List<ForumAd> selectByExample(ForumAdExample example);

    ForumAd selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ForumAd record, @Param("example") ForumAdExample example);

    int updateByExampleWithBLOBs(@Param("record") ForumAd record, @Param("example") ForumAdExample example);

    int updateByExample(@Param("record") ForumAd record, @Param("example") ForumAdExample example);

    int updateByPrimaryKeySelective(ForumAd record);

    int updateByPrimaryKeyWithBLOBs(ForumAd record);

    int updateByPrimaryKey(ForumAd record);
}